#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------
# -- This's code enum
# -- 
# ****************************
# Author: lmay.Zhou
# Blog: www.lmaye.com
# Date: 2017年9月18日18:21:17
# ----------------------------------------------------------

from enum import Enum, unique


@unique
class CodeEnum(Enum):
    """
        Code Enum\n
        :param SUCCESS 成功\n
        :param ERROR 失败\n
        :param CONNECT_FAIL 连接失败\n
        :param CONNECT_TIMEOUT 连接超时\n
    """

    SUCCESS = 200;
    ERROR = 500;
    CONNECT_FAIL = 503;
    CONNECT_TIMEOUT = 408;
